#pragma once

class CFindFileSorted
{
private:
   int iCount;
   TCHAR **szList;
   TCHAR **szListUpper;

   void ListDirectory(TCHAR *szWhatToFind);
   void OrderListByName();
   void ToUpper(TCHAR *s1);
public:
   CFindFileSorted(TCHAR *szDirectory, TCHAR *szPattern);
   ~CFindFileSorted(void);

   int getCount();
   TCHAR *getAt(int iPosition);
};
